<!doctype html>
<html>
<head>
    <meta charset="UTF-8">
    <title>test</title>
    <script type="text/javascript" src="upfsdk/jquery-3.2.1.min.js"></script>
    <script type="text/javascript" src="upfsdk/jquery.form.js"></script>
    <script src="upfsdk/artDialog_v4.0.3/jquery.artDialog.js?skin=default"></script>
    <script src="upfsdk/artDialog_v4.0.3/artDialog.iframeTools.js"></script>
</head>
<style>
    .imgs{max-width: 200px;margin: 10px;}
</style>


<body>
<script>
    $(function(){

        $('#chose_btn').click(function(){
            var open_url='upfsdk/DialogFilePost.html';
            art.dialog.open(open_url,{
                title: '上传图片',
                width : 1024,
                height : 600,
                fixed :true,
                lock : true,
                id:'dg_uploadfile',
                //对话框弹出后执行的函数
                initFn: function(){
                },
                //closeFn
                closeFn:function(){
                    var pics = art.dialog.data('pics');
                    for(var i=0;i<pics.length;i++){
                        $('#pics-area').append("<img class='imgs' src='"+pics[i]+"'>")
                    }
                }
            });
        });
    });
</script>
</body>
<button type="button" id='chose_btn'>选择</button>
<div id="pics-area"></div>
</html>